package com.escapeicon.bigevent.service;

import com.escapeicon.bigevent.pojo.entity.User;

public interface UserService {
    //根据用户名查询用户
    User findByUserName(String username);

    //注册
    void register(String username, String password);

    void updateUser(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd);
}
